package cn.itrip.mapper.ItripAreaDic;
import cn.itrip.pojo.ItripAreaDic;
import cn.itrip.vo.ItripAreaDicVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

public interface ItripAreaDicMapper {


	public ItripAreaDic getItripAreaDicById(@Param(value = "id") Long id)throws Exception;

	//国内外酒店
	public List<ItripAreaDic> getItripAreaDicByIsChina(@Param(value = "isChina")Integer type)throws Exception;

	//获取商圈
	public List<ItripAreaDicVO> queryTradingAreaNameList(@Param(value = "cityId")Integer cityId);

	//根据酒店id查询商圈
	public List<String> queryIdAreaNameList(@Param(value = "hotelId")Integer hotelId);
	//根据酒店id获取酒店特色
	public List<String> queryFeatureIdList(@Param(value = "id")Integer id);

	public List<ItripAreaDic>	getItripAreaDicListByMap(Map<String, Object> param)throws Exception;

	public Integer getItripAreaDicCountByMap(Map<String, Object> param)throws Exception;

	public Integer insertItripAreaDic(ItripAreaDic ItripAreaDic)throws Exception;

	public Integer updateItripAreaDic(ItripAreaDic ItripAreaDic)throws Exception;

	public Integer deleteItripAreaDicById(@Param(value = "id") Long id)throws Exception;


}
